from fastapi import FastAPI
import uvicorn
from api.user_api import router as user_router
from api.shop_api import router as shop_router
from api.data_analysis import router as data_analysis_router
from api.ai_test_api import router as ai_assistant_router
app = FastAPI()
app.include_router(user_router,tags=["用户操作接口"],prefix="/user_api")
app.include_router(shop_router,tags=["商品接口"],prefix="/shop_api")
app.include_router(data_analysis_router,tags=["数据分析接口"],prefix="/data_analysis_api")
app.include_router(ai_assistant_router,tags=["AI接口"],prefix="/ai_assistant_api")


if __name__ == '__main__':
    uvicorn.run(app, host="127.0.0.1", port=8000)